<template>
  <div class="">
    <Child :money="100000" @change-money="getMoney" @change-car="getCar" />
  </div>
</template>

<script lang="ts" setup>
import Child from './02-Child.vue'
const getMoney = (val: number) => {
  console.log('---parent---money---', val)
}

const getCar = (val: string) => {
  console.log('---parent---car---', val)
}
</script>

<style scoped></style>
